package com.tbit.uqbike.client.constant.enums;

import lombok.RequiredArgsConstructor;

/**
 * @author <a href="mailto:zheng.zebiao@tbit.com.cn">zb</a>
 * @since 2024/9/20
 */
@RequiredArgsConstructor
public enum TbitApiParkErrorCode {
    SUCCESS(200, "成功"),
    PARK_ERROR_1(1001, "请垂直停车线停车"),
    PARK_ERROR_2(1002, "请靠近停车线停车"),
    PARK_ERROR_3(1003, "车辆标识不一致"),

    PARK_ERROR_4(1101, "车头反向，请调转车头"),
    PARK_ERROR_5(90002, "未检测到地面标识"),
    PARK_ERROR_6(90003, "未检测到车辆标识区域"),
    PARK_ERROR_7(90004, "未检测到车辆标识信息"),
    PARK_ERROR_8(90005, "参数异常"),
    PARK_ERROR_NO_CAR(90006, "未检测到车辆"),
    PARK_ERROR_9(9100, "超过限流阈值"),
        ;
    public final int code;
    public final String msg;
}
